<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>

<div class="box-content" style="padding:10px 30px 10px 30px">
	
		<table class="table table-bordered table-striped" width="98%" >
  <tr>
    <td width="80" align="center">方式</td>
    <td>
<select id="q_mode" name="q_mode" 
	data-options="editable:false" panelHeight="auto" class="easyui-combobox" style="width:150px;">
		<option value="">请选择</option>
		<option value="出租">出租</option>	
		<option value="出售">出售</option>
</select>
    </td>
    <td width="80px" align="center">类别1</td>
    <td>
<select id="q_purpose1" 
name="q_purpose1"
	data-options="editable:false" panelHeight="auto" class="easyui-combobox" style="width:150px;">
<option value="">请选择</option>
<option value="住宅">住宅</option>
<option value="铺面">铺面</option>
<option value="高层住宅">高层住宅</option>
<option value="多层办公">多层办公</option>
<option value="高层办公">高层办公</option>
<option value="写字楼">写字楼</option>
<option value="车库">车库</option>
<option value="厂房">厂房</option>
<option value="工厂">工厂</option>
<option value="仓库">仓库</option>
<option value="别墅">别墅</option>
<option value="住宅.铺面">住宅.铺面</option>
<option value="住宅.办公">住宅.办公</option>
<option value="住宅.仓库">住宅.仓库</option>
<option value="办公.仓库">办公.仓库</option>
<option value="地皮.空地">地皮.空地</option>
<option value="经营">经营</option>
<option value="车位">车位</option>
</select>	
</td>
    <td width="80" align="center">类别2</td>
    <td>
<select id="q_purpose2" 
name="q_purpose2"
	data-options="editable:false" panelHeight="auto" class="easyui-combobox" style="width:150px;">
<option value="">请选择</option>
<option value="住宅">住宅</option>
<option value="铺面">铺面</option>
<option value="高层住宅">高层住宅</option>
<option value="多层办公">多层办公</option>
<option value="高层办公">高层办公</option>
<option value="写字楼">写字楼</option>
<option value="车库">车库</option>
<option value="厂房">厂房</option>
<option value="工厂">工厂</option>
<option value="仓库">仓库</option>
<option value="别墅">别墅</option>
<option value="住宅.铺面">住宅.铺面</option>
<option value="住宅.办公">住宅.办公</option>
<option value="住宅.仓库">住宅.仓库</option>
<option value="办公.仓库">办公.仓库</option>
<option value="地皮.空地">地皮.空地</option>
<option value="经营">经营</option>
<option value="车位">车位</option>
</select>
</td>
  </tr>
  <tr>
    <td align="center">规格1</td>
    <td>
<select id="q_room1" name="q_room1"
	data-options="required:false,editable:false"  panelHeight="auto" class="easyui-combobox" style="width:150px;">
<option value="">请选择</option>
<option value="1房1">1房1</option>
<option value="1房2">1房2</option>
<option value="2房1">2房1</option>
<option value="2房2">2房2</option>
<option value="3房1">3房1</option>
<option value="3房2">3房2</option>
<option value="4房1">4房1</option>
<option value="4房2">4房2</option>
<option value="5房2">5房2</option>
<option value="6房3">6房3</option>
<option value="复式">复式</option>
<option value="一格">一格</option>
<option value="二格">二格</option>
<option value="三格">三格</option>
<option value="四格">四格</option>
<option value="单间">单间</option>
<option value="套房">套房</option>
<option value="全座">全座</option>
<option value="全层">全层</option>
<option value="全套">全套</option>
</select>

</td>
    <td align="center">规格2</td>
    <td>
<select id="q_room2" name="q_room2"
	data-options="required:false,editable:false"  panelHeight="auto" class="easyui-combobox" style="width:150px;">
<option value="">请选择</option>
<option value="1房1">1房1</option>
<option value="1房2">1房2</option>
<option value="2房1">2房1</option>
<option value="2房2">2房2</option>
<option value="3房1">3房1</option>
<option value="3房2">3房2</option>
<option value="4房1">4房1</option>
<option value="4房2">4房2</option>
<option value="5房2">5房2</option>
<option value="6房3">6房3</option>
<option value="复式">复式</option>
<option value="一格">一格</option>
<option value="二格">二格</option>
<option value="三格">三格</option>
<option value="四格">四格</option>
<option value="单间">单间</option>
<option value="套房">套房</option>
<option value="全座">全座</option>
<option value="全层">全层</option>
<option value="全套">全套</option>
</select>
</td>
    <td align="center">规格3</td>
    <td>
<select id="q_room3" name="q_room3"
	data-options="required:false,editable:false"  panelHeight="auto" class="easyui-combobox" style="width:150px;">
<option value="">请选择</option>
<option value="1房1">1房1</option>
<option value="1房2">1房2</option>
<option value="2房1">2房1</option>
<option value="2房2">2房2</option>
<option value="3房1">3房1</option>
<option value="3房2">3房2</option>
<option value="4房1">4房1</option>
<option value="4房2">4房2</option>
<option value="5房2">5房2</option>
<option value="6房3">6房3</option>
<option value="复式">复式</option>
<option value="一格">一格</option>
<option value="二格">二格</option>
<option value="三格">三格</option>
<option value="四格">四格</option>
<option value="单间">单间</option>
<option value="套房">套房</option>
<option value="全座">全座</option>
<option value="全层">全层</option>
<option value="全套">全套</option>
</select>
</td>
  </tr>
  <tr>
    <td align="center">区域</td>
    <td colspan="4"><input type="text" class="easyui-numberbox" name="q_qy" id="q_qy" style="width:250px"/>
    <a href="javascript:selectmap2();" class="easyui-linkbutton"  plain="true" data-options="iconCls:'icon-search'">选择</a>  
    
    </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td align="center">位置1</td>
    <td colspan="4"><input type="text" name="q_address1" id="q_address1" style="width:250px"/>
    
    <a href="javascript:selectstzd2();" class="easyui-linkbutton"  plain="true" data-options="iconCls:'icon-search'">楼盘字典</a>  
    
    </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td align="center">位置2</td>
    <td colspan="4"><input type="text" name="q_address2" id="q_address2" style="width:250px"/>
    <a href="javascript:selectstzd3();" class="easyui-linkbutton"  plain="true" data-options="iconCls:'icon-search'">楼盘字典</a>  
    
    </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td align="center">位置3</td>
    <td colspan="4"><input type="text" name="q_address3" id="q_address3" style="width:250px" />
    <a href="javascript:selectstzd4();" class="easyui-linkbutton"  plain="true" data-options="iconCls:'icon-search'">楼盘字典</a>  
    
    </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td align="center">楼层</td>
    <td colspan="3">
    <input type="text" class="easyui-numberbox"  name="q_layer1" id="q_layer1" style="width:150px"/>&nbsp;-&nbsp;<input type="text" class="easyui-numberbox" name="q_layer2" id="q_layer2" style="width:150px"/></td>
    <td align="center">有装修</td>
    <td>
    <select id="q_fitment" name="q_fitment"
	data-options="required:false,editable:false" panelHeight="auto" class="easyui-combobox" style="width:150px;">
<option value="">请选择</option>
<option value="无">无</option>
<option value="有">有</option>
</select>
    </td>
  </tr>
  <tr>
    <td align="center">面积</td>
    <td colspan="3"><input type="text" class="easyui-numberbox"  name="q_area1" id="q_area1" style="width:150px"/>&nbsp;-&nbsp;<input type="text" class="easyui-numberbox"  name="q_area2" id="q_area2" style="width:150px"/></td>
    <td align="center">有钥匙</td>
    <td>
    <select id="q_scheduled_flag" name="q_scheduled_flag"
	data-options="required:false,editable:false" panelHeight="auto" class="easyui-combobox" style="width:150px;">
<option value="">请选择</option>
<option value="无">无</option>
<option value="有">有</option>
</select>
    </td>
  </tr>
  <tr>
    <td align="center">价格</td>
    <td colspan="3"><input type="text" class="easyui-numberbox"  name="q_price1" id="q_price1" style="width:150px"/>&nbsp;-&nbsp;<input type="text" class="easyui-numberbox"  name="q_price2" id="q_price2" style="width:150px"/></td>
    <td align="center">委托单位</td>
    <td>
<select id="q_unitname" name="q_unitname"   style="width:150px;"  
></select>
	<script>
	$(function(){
			$('#q_unitname').combogrid({
				panelWidth:210,
				idField:'sxname',
				textField:'sxname',
				url:'<c:url value="/system/zjlist/getAllZjlistItems"/>',
				mode:'remote', 
				columns:[[
					{field:'sxname',title:'单位简称',width:180}
				]]
			});
		});
	
  </script>
</td>
  </tr>
  <tr>
    <td align="center">单位</td>
    <td>
<select id="q_unit" name="q_unit"
	data-options="editable:false" panelHeight="auto" class="easyui-combobox" style="width:150px;">
<option value="">请选择</option>
<option value="元/月">元/月</option>
<option value="元/月/m2">元/月/m2</option>
<option value="元/m2">元/m2</option>
<option value="万元/套">万元/套</option>
<option value="面议">面议</option>
<option value="亩">亩</option>
</select>
</td>
    <td>&nbsp;</td>
    <td align="center">日期范围</td>
    <td colspan="2">
        <input type="radio" name="q_datetype" id="q_datetype" value="0" checked onclick="$('#q_dateselectpanel').hide();$('#q_dateregionpanel').show();"/>
        日期范围
        <input type="radio" name="q_datetype" id="q_datetype" value="1" onclick="$('#q_dateregionpanel').hide();$('#q_dateselectpanel').show();"/>选择日期
    </td>
  </tr>
 <tr>
    <td align="center">顶手费</td>
    <td colspan="3"><input type="text" class="easyui-numberbox"  name="q_fzrf1" id="q_fzrf1" style="width:150px"/>&nbsp;-&nbsp;<input type="text" class="easyui-numberbox"  name="q_fzrf2" id="q_fzrf2" style="width:150px"/></td>
    <td align="center">&nbsp;</td>
    <td>&nbsp;</td>
  </tr> 
  <tr>
    <td colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;
    <input type="checkbox" name="q_showunit" id="q_showunit" value="showunit" />
只显示本单位信息</td>
    <td colspan="2"><input type="checkbox" name="q_showdetail" id="q_showdetail" onclick="showdetail();" />
显示详细条件</td>
    <td colspan="2">
    <div id="q_dateregionpanel">
<select id="q_dateselect" name="q_dateselect"
	data-options="editable:false" panelHeight="auto" class="easyui-combobox" style="width:150px;">
<option value="">请选择</option>
<option value="1">一天</option>
<option value="3">三天</option>
<option value="7">一周</option>
<option value="31">一月</option>
<option value="61">二月</option>
</select>    


    </div>
    <div id="q_dateselectpanel" style="display:none">
    <input id="q_editdate1" name="q_editdate1" class="easyui-datebox"
			 editable="false"></input>&nbsp;-&nbsp;<input id="q_editdate2" name="q_editdate2" class="easyui-datebox"
			 editable="false"></input>
    </div>
    
    </td>
  </tr>
</table>
<table id="detailPanel" style="display:none" class="table table-bordered table-striped" width="98%" >
  <tr>
    <td width="80" align="center">装修1</td>
    <td>
<select id="q_fitment1" name="q_fitment1"
	data-options="editable:false"  panelHeight="auto" class="easyui-combobox" style="width:150px;">
<option value="">请选择</option>
<option value="白坯">白坯</option>
<option value="装修">装修</option>
<option value="新装修">新装修</option>
<option value="简单装修">简单装修</option>
<option value="普通装修">普通装修</option>
<option value="简新装修">简新装修</option>
<option value="固定装修">固定装修</option>
<option value="配套装修">配套装修</option>
<option value="厨厕装修">厨厕装修</option>
<option value="中档装修">中档装修</option>
<option value="现代装修">现代装修</option>
<option value="时尚装修">时尚装修</option>
<option value="高级装修">高级装修</option>
<option value="豪华装修">豪华装修</option>
<option value="欧式装修">欧式装修</option>
<option value="白木装修">白木装修</option>
<option value="原木装修">原木装修</option>
<option value="公司装修">公司装修</option>
<option value="办公装修">办公装修</option>
<option value="发廊装修">发廊装修</option>
<option value="美容装修">美容装修</option>
<option value="酒楼装修">酒楼装修</option>
</select>
</td>
    <td width="80" align="center">装修2</td>
    <td>
<select id="q_fitment2" name="q_fitment2"
	data-options="editable:false"  panelHeight="auto" class="easyui-combobox" style="width:150px;">
<option value="">请选择</option>
<option value="白坯">白坯</option>
<option value="装修">装修</option>
<option value="新装修">新装修</option>
<option value="简单装修">简单装修</option>
<option value="普通装修">普通装修</option>
<option value="简新装修">简新装修</option>
<option value="固定装修">固定装修</option>
<option value="配套装修">配套装修</option>
<option value="厨厕装修">厨厕装修</option>
<option value="中档装修">中档装修</option>
<option value="现代装修">现代装修</option>
<option value="时尚装修">时尚装修</option>
<option value="高级装修">高级装修</option>
<option value="豪华装修">豪华装修</option>
<option value="欧式装修">欧式装修</option>
<option value="白木装修">白木装修</option>
<option value="原木装修">原木装修</option>
<option value="公司装修">公司装修</option>
<option value="办公装修">办公装修</option>
<option value="发廊装修">发廊装修</option>
<option value="美容装修">美容装修</option>
<option value="酒楼装修">酒楼装修</option>
</select>
</td>
    <td width="80" align="center">方向</td>
    <td>
<select id="q_direction" name="q_direction"
	data-options="required:false,editable:false" panelHeight="auto" class="easyui-combobox" style="width:150px;">
<option value="">请选择</option>
<option value="东南">东南</option>
<option value="南北">南北</option>
<option value="西南">西南</option>
<option value="东北">东北</option>
<option value="西北">西北</option>
<option value="向东">向东</option>
<option value="向西">向西</option>
<option value="向南">向南</option>
<option value="向北">向北</option>
<option value="角头">角头</option>
<option value="四面">四面</option>
<option value="曲尺">曲尺</option>
</select>
</td>
  </tr>
  <tr>
    <td align="center">手续1</td>
    <td>
<select id="q_circs1" name="q_circs1"
	data-options="editable:false" panelHeight="auto" class="easyui-combobox" style="width:150px;">
<option value="">请选择</option>
<option value="商品房">商品房</option>
<option value="房改手续">房改手续</option>
<option value="房改一次">房改一次</option>
<option value="房改二次">房改二次</option>
<option value="一九手续">一九手续</option>
<option value="二八手续">二八手续</option>
<option value="二二六">二二六</option>
<option value="三七手续">三七手续</option>
<option value="三三四">三三四</option>
<option value="合建手续">合建手续</option>
<option value="合同手续">合同手续</option>
<option value="公产手续">公产手续</option>
<option value="农民手续">农民手续</option>
<option value="合同发票">合同发票</option>
<option value="拍卖手续">拍卖手续</option>
<option value="私建">私建</option>
<option value="私产">私产</option>
<option value="拆赔">拆赔</option>
</select>
</td>
    <td align="center">手续2</td>
    <td>
<select id="q_circs2" name="q_circs2"
	data-options="editable:false" panelHeight="auto" class="easyui-combobox" style="width:150px;">
<option value="">请选择</option>
<option value="商品房">商品房</option>
<option value="房改手续">房改手续</option>
<option value="房改一次">房改一次</option>
<option value="房改二次">房改二次</option>
<option value="一九手续">一九手续</option>
<option value="二八手续">二八手续</option>
<option value="二二六">二二六</option>
<option value="三七手续">三七手续</option>
<option value="三三四">三三四</option>
<option value="合建手续">合建手续</option>
<option value="合同手续">合同手续</option>
<option value="公产手续">公产手续</option>
<option value="农民手续">农民手续</option>
<option value="合同发票">合同发票</option>
<option value="拍卖手续">拍卖手续</option>
<option value="私建">私建</option>
<option value="私产">私产</option>
<option value="拆赔">拆赔</option>
</select>
</td>
    <td align="center">&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td align="center">其他1</td>
    <td>
<select id="q_qt1" name="q_qt1"
	data-options="required:false,editable:false"  panelHeight="auto" class="easyui-combobox" style="width:150px;">
<option value="">请选择</option>
<option value="小区">小区</option>
<option value="花园小区">花园小区</option>
<option value="小区管理">小区管理</option>
<option value="门房管理">门房管理</option>
<option value="配套另计">配套另计</option>
<option value="包配套">包配套</option>
<option value="过名各负">过名各负</option>
<option value="包过名">包过名</option>
<option value="连天面">连天面</option>
<option value="可分割">可分割</option>
<option value="全套齐">全套齐</option>
<option value="全套家具">全套家具</option>
<option value="部分家具">部分家具</option>
<option value="全套家电">全套家电</option>
<option value="部分家电">部分家电</option>
<option value="电视">电视</option>
<option value="空调">空调</option>
<option value="洗衣机">洗衣机</option>
<option value="电梯">电梯</option>
<option value="平台">平台</option>
<option value="办公用品">办公用品</option>
<option value="全套办公品">全套办公品</option>
<option value="复式">复式</option>
<option value="管理">管理</option>
<option value="露台">露台</option>
</select>

</td>
    <td align="center">其他2</td>
    <td>
<select id="q_qt2" name="q_qt2"
	data-options="required:false,editable:false"  panelHeight="auto" class="easyui-combobox" style="width:150px;">
<option value="">请选择</option>
<option value="小区">小区</option>
<option value="花园小区">花园小区</option>
<option value="小区管理">小区管理</option>
<option value="门房管理">门房管理</option>
<option value="配套另计">配套另计</option>
<option value="包配套">包配套</option>
<option value="过名各负">过名各负</option>
<option value="包过名">包过名</option>
<option value="连天面">连天面</option>
<option value="可分割">可分割</option>
<option value="全套齐">全套齐</option>
<option value="全套家具">全套家具</option>
<option value="部分家具">部分家具</option>
<option value="全套家电">全套家电</option>
<option value="部分家电">部分家电</option>
<option value="电视">电视</option>
<option value="空调">空调</option>
<option value="洗衣机">洗衣机</option>
<option value="电梯">电梯</option>
<option value="平台">平台</option>
<option value="办公用品">办公用品</option>
<option value="全套办公品">全套办公品</option>
<option value="复式">复式</option>
<option value="管理">管理</option>
<option value="露台">露台</option>
</select>
</td>
    <td align="center">其他3</td>
    <td>
<select id="q_qt3" name="q_qt3"
	data-options="required:false,editable:false"  panelHeight="auto" class="easyui-combobox" style="width:150px;">
<option value="">请选择</option>
<option value="小区">小区</option>
<option value="花园小区">花园小区</option>
<option value="小区管理">小区管理</option>
<option value="门房管理">门房管理</option>
<option value="配套另计">配套另计</option>
<option value="包配套">包配套</option>
<option value="过名各负">过名各负</option>
<option value="包过名">包过名</option>
<option value="连天面">连天面</option>
<option value="可分割">可分割</option>
<option value="全套齐">全套齐</option>
<option value="全套家具">全套家具</option>
<option value="部分家具">部分家具</option>
<option value="全套家电">全套家电</option>
<option value="部分家电">部分家电</option>
<option value="电视">电视</option>
<option value="空调">空调</option>
<option value="洗衣机">洗衣机</option>
<option value="电梯">电梯</option>
<option value="平台">平台</option>
<option value="办公用品">办公用品</option>
<option value="全套办公品">全套办公品</option>
<option value="复式">复式</option>
<option value="管理">管理</option>
<option value="露台">露台</option>
</select>
</td>
  </tr>
  <tr>
    <td align="center">备注</td>
    <td>
<select id="q_memo" name="q_memo"
	data-options="required:false,editable:false"  panelHeight="auto" class="easyui-combobox" style="width:150px;">
<option value="">请选择</option>
<option value="易看房">易看房</option>
<option value="装修清雅">装修清雅</option>
<option value="清点">清点</option>
<option value="全海景">全海景</option>
<option value="望海">望海</option>
<option value="路边">路边</option>
<option value="有证">有证</option>
<option value="证未领">证未领</option>
<option value="急售">急售</option>
<option value="急租">急租</option>
<option value="可过户不能办证">可过户不能办证</option>
<option value="全新未住过">全新未住过</option>
<option value="白木装修">白木装修</option>
<option value="有阁楼">有阁楼</option>
<option value="有庭院">有庭院</option>
<option value="一梯二户">一梯二户</option>
<option value="园心">园心</option>
<option value="欠空调">欠空调</option>
<option value="欠电视">欠电视</option>
<option value="可配全套齐">可配全套齐</option>
<option value="有夹层">有夹层</option>
<option value="双阳台">双阳台</option>
<option value="铝合金窗">铝合金窗</option>
<option value="无内隔墙">无内隔墙</option>
<option value="有二套">有二套</option>
<option value="街区主路">街区主路</option>
<option value="大车可到门口">大车可到门口</option>
<option value="租正规人">租正规人</option>
<option value="不租外地人">不租外地人</option>
</select>
</td>
    <td align="center">外观</td>
    <td>
<select id="q_wg" name="q_wg"
	data-options="required:false,editable:false"  panelHeight="auto" class="easyui-combobox" style="width:150px;">
<option value="">请选择</option>
<option value="条式">条式</option>
<option value="蝶式">蝶式</option>
<option value="小高层">小高层</option>
<option value="因地建">因地建</option>
<option value="条型砖">条型砖</option>
<option value="马塞克">马塞克</option>
<option value="水洗石">水洗石</option>
<option value="纸皮砖">纸皮砖</option>
<option value="铁屋架">铁屋架</option>
<option value="双斜水">双斜水</option>
<option value="混凝土">混凝土</option>
<option value="欧式方格">欧式方格</option>
</select>
</td>
    <td align="center">编号</td>
    <td><input type="text" name="q_local_id" id="q_local_id" style="width:150px"/></td>
  </tr>
  <tr>
    <td align="center">&nbsp;</td>
    <td>&nbsp;</td>
    <td align="center">显示限制</td>
    <td>
<select id="q_display" name="q_display"
	data-options="editable:false" panelHeight="auto" class="easyui-combobox" style="width:150px;">
<option value="">请选择</option>
<option value="0">无限制</option>
<option value="1">只在中介</option>
<option value="2">只在本司</option>
<option value="3">只在网站</option>
</select>

</td>
    <td align="center">自编号</td>
    <td><input type="text" name="q_selfcode" id="q_selfcode" style="width:150px"/></td>
  </tr>
</table>
	
</div>
<script>

function showdetail(){
	 if($("#q_showdetail").attr("checked")=="checked")
		 $('#detailPanel').show();
	 else
		 $('#detailPanel').hide();
	
}

function selectstzd2(){
	
	parent.selectstzd('<c:url value="/"/>', function(stzd){
		$('#q_address1').val(stzd);
	    
	},'',false,true);
	
	
	
};	

function selectstzd3(){
	
	parent.selectstzd('<c:url value="/"/>', function(stzd){
		$('#q_address2').val(stzd);
	    
	},'',false,true);
	
	
	
};	


function selectstzd4(){
	
	parent.selectstzd('<c:url value="/"/>', function(stzd){
		$('#q_address3').val(stzd);
	    
	},'',false,true);
	
	
	
};	
		
		
function selectmap2(){
	parent.mselectmap('<c:url value="/"/>', function(maps){
		$('#q_qy').val(maps.join(','));
		
			},$('#q_qy').val(),true,false);
	
	};	
	
	//$(".box-content").css("font-size", fontsize*twice+ "px");	
	
</script>		